<h1>Remove Member</h1>
<?php if ($this->group && $this->user) :?>

<form action="<?= $this->route("groups", "removemember") ?>" method="post">
<p>Are you sure that you want to remove 
<b><?= $this->escape($this->user->nickname) ?></b>
from group 
<b><?= $this->escape($this->group->name) ?></b>?
<div>
<input type="hidden" name="group_id" value="<?= $this->group->id; ?>" />
<input type="hidden" name="user_id" value="<?= $this->user->id; ?>" />
<input type="submit" name="del" value="Yes" />
<input type="submit" name="del" value="No" />
</div>
</form>

<?php else: ?>
<p>Cannot find user/group.</p>
<?php endif;?>